tools/lib/lockdep: Define pr_cont()
authorBen Hutchings <ben@decadent.org.uk>
Sun, 1 Oct 2017 14:39:34 +0000 (15:39 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Nov 2017 21:04:10 +0000 (21:04 +0000)
commita6ffc5205590508e88c55e2e5bfa14610ee36c20
tree82d77dc0ee0ed5d1b37909164f8456fc8a31ffe4
parented110e8b09c16bebe8168b13ab4a60693ce3d4f8
tools/lib/lockdep: Define pr_cont()

lockdep.c now also uses pr_cont(), so we need to implement it in
liblockdep.

It is currently always used to continue warning lines, so define
pr_cont() the same as pr_warn().  If this changes, we might need to
record the last log level in a TLS variable and have pr_cont() check
that.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-lib-lockdep-define-pr_cont.patch
tools/include/linux/lockdep.h